const {WebpackWarPlugin} = require('webpack-war-plugin');

module.exports = {
    configureWebpack: {
        plugins: process.env.NODE_ENV === 'production'
            ?[new WebpackWarPlugin()]
            :[]
    },
    publicPath: process.env.NODE_ENV === 'production'
        ? './'
        : '/'
}